Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device query updates #658

Merged
merged 2 commits into from
Mar 29, 2016
Merged

Conversation

lukeyeager
Copy link
Member

Versioned DSOs
We really shouldn't ever load unversioned DSOs because you shouldn't need dev files to run any application. I ran into this issue when using nvidia-docker, which doesn't include libnvidia-ml.so by default.

Displaying GPU memory
We could just display CUDA info only - there's no clear reason to call NVML here - but I have a vague recollection of CUDA being unable to query the memory available for newer, fancier GPUs sometimes. So I'm just adding it as a fallback path.

I can't test this on Windows, but I've attempted to preserve @crohkohl's changes from #199.

@gheinrich
Copy link
Contributor

Verified with/without this commit and the code looks OK to me.

@lukeyeager lukeyeager merged commit 6b18cd0 into NVIDIA:master Mar 29, 2016
@lukeyeager lukeyeager deleted the device-query-updates branch March 29, 2016 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants